#define _CRT_SECURE_NO_WARNINGS
#include "SLinkList.h"
void test4()
{
	SLTNode* phead = NULL;

	SLTPushBack(&phead, 1);
	SLTPushBack(&phead, 2);
	SLTPushBack(&phead, 3);
	SLTPushBack(&phead, 4);
	SLTPushBack(&phead, 5);
	SLTPrint(phead);

	SLTNode* pos = SLTFind(phead, 5);

	SLTErase(&phead, pos);
	SLTPrint(phead);

	SLTDestory(&phead);
}
int main()
{
	test4();
	return 0;
}
